# -*- encoding: utf-8 -*-
'''
@File    :   1.07.py
@Time    :   2022/10/25 20:50:47
@Author  :   Cms 
@Version :   1.0
@Contact :   2267000140@qq.com
@WebSite    :   www.baidu.com
'''

# here put the import lib


# 定义元组,进行基本的操作(元组的基本运算,元素的输出,内置函数的使用); 定义一个元组,来保存成绩,输出最高分;

tuple1 = (80,85)
tuple2 = (90,95)
tuple3 = tuple1 + tuple2
print(tuple3)

tuple4 = (30)
tuple5 = (61)
tuple6 = tuple4 + tuple5
print(tuple6)

print(tuple3[0])

print(len(tuple3))
print(max(tuple3))
print(min(tuple3))

list1 = [65,74,75,83]
tuple7 = tuple(list1)

tuple8 = tuple7 + tuple3
print(tuple8)

print("最高分：",max(tuple8))